1 using UnityEngine;
2 using
System.Collections;
3
4 namespace
GamePlay
5 {
6
7     
public class LevelText : MonoBehaviour
8     {
9         
void Start()
10         {
11             BitmapFont fontResult =
new BitmapFont("Fonts/font_result", "Fonts/font_result_xml", gameObject);
12             fontResult.setText(
"Level " + ((Attr.currentWorld * 15) + Attr.currentLevel + 1), -1, 15, "GUI", "GUI");
13         }
14     }
15 }



Trò chơi đua xe động vật trong UNITY Engine 114.733 lượt xem

Gõ tìm kiếm nhanh...